<%@ page import="sige.DespesaVariavel" %>

<div class="control-group" >
	 <label  class="control-label" for="ordem">
		<g:message code="despesaVariavel.ordem.label" default="Ordem" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	    <g:textField name="nomeDardem" readonly="readonly" value="${despesaVariavelInstance?.ordem}" />
	 </div> 
 </div>
 
 <div class="control-group" >
	 <label  class="control-label" for="descricao">
		<g:message code="despesaFixa.descricao.label" default="Descrição" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	<g:textArea id="descricao" name="descricao" value="${despesaVariavelInstance?.descricao}" rows="7" />
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="dataDeVencimento">
		<g:message code="despesaVariavel.dataDeVencimento.label" default="Data De Vencimento" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	    <g:myDatePicker name="dataDeVencimento" precision="day"  value="${despesaVariavelInstance?.dataDeVencimento}"  />
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="valorBase">
		<g:message code="despesaVariavel.valorBase.label" default="Valor Base" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	<g:textField class="span1" name="valorBase" value="${fieldValue(bean: despesaVariavelInstance, field: 'valorBase')}" required=""/>
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="sazonalidade">
		<g:message code="despesaVariavel.sazonalidade.label" default="Sazonalidade" />
		
	</label> 
 	 <div class="controls"> 
	<g:select class="span2" name="sazonalidade" from="${despesaVariavelInstance.constraints.sazonalidade.inList}" value="${despesaVariavelInstance?.sazonalidade}" valueMessagePrefix="despesaVariavel.sazonalidade" noSelection="['': '']"/>
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="numeroDeParcelas">
		<g:message code="despesaVariavel.numeroDeParcelas.label" default="Numero De Parcelas" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	<g:field class="span1" name="numeroDeParcelas" type="number" value="${despesaVariavelInstance.numeroDeParcelas}" required=""/>
	 </div> 
 </div>
